package com.guguskins.back.entity.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @author duttonliu
 * @date 2021/6/22 10:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
public class RegisterUserBo {

    /**
     * 昵称
     */
    @NotEmpty(message = "昵称不能为空")
    private String userNickname;

    /**
     * 手机号Or邮箱
     */
    @NotEmpty(message = "手机号或邮箱不能为空")
    private String userAccount;

    /**
     * 验证码
     */
    @NotEmpty(message = "验证码不能为空")
    private String code;

    /**
     * 邀请码
     */
    private String invitationCode;

    /**
     * 密码
     */
    @NotEmpty(message = "密码不能为空")
    private String userPassword;

    @NotEmpty(message = "密码不能为空")
    private String confirmPassword;

    /**
     * 头像
     */
    private String userImage;



}
